#include "TestEvent.hpp"
#include <QxtLogger>

TestEvent::TestEvent() {
    dTime = 0.0f;
}

TestEvent::TestEvent(float t)
{
    dTime = t;
}

void TestEvent::dispatch() {
    qxtLog->info("TestEvent occurred at " +QByteArray::number(dTime));
}

QByteArray TestEvent::name() const{
    return "TestEvent";
}

float TestEvent::time() const {
    return dTime;
}
